<?php
//session_start();
//database add
 $host_addr = "127.0.0.1";
//database username
 $db_user = "root";
//database password
 $db_pwd = "372586";
//database name
 $main_db = "cp3047";
 //connection
 $conn = mysql_connect($host_addr,$db_user,$db_pwd) or die("Can not connect DataBase:".mysql_error());
?>

